<?php
/**
 * @version CVS: $Id: constants.php 5 2011-11-20 20:09:18Z NHNOAH@gmail.com $
 */
function _dump($string){
    $style = 'width:90%;height:450px;overflow:auto;border:5px solid #ddd;padding:10px;margin:1em auto';
    echo '<pre style="'.$style.'">';
    var_dump($string);
    echo '</pre>';
}

define('DIRSEP',DIRECTORY_SEPARATOR);
define('BASE_DIR',str_replace('constants.php','',__FILE__) );
define('LIB_DIR',BASE_DIR.'matrix-sys'.DIRSEP);
define('CLASS_DIR',LIB_DIR.'class'.DIRSEP );
define('MOD_DIR',LIB_DIR.'modules'.DIRSEP);
// base url
define('BASE_URI','matrix-sys/' );
// icons
define('ICONS_URI',BASE_URI.'icons/');
define('ICONS_LARGE_URI',BASE_URI.'icons_large/');
define('THUMBS_URI',BASE_URI.'thumbs/');
define('EDIT_ICONS_URI',BASE_URI.'edit_files/');
define('GALLERY_ICONS_URI',BASE_URI.'gallery_files/');
define('MEDIAPLAYER_ICONS_URI',BASE_URI.'media_player_files/');
define('CSS_URI',BASE_URI.'css/');

//_dump(ICONS_URI);	

/**
 *  Includes all require files
 */

require(MOD_DIR.'utils.php'); 
/**
 *  Configurations settings 
 */
require(LIB_DIR.'config.php');
/**
 *  Default functions
 */
require(LIB_DIR.'functions.php');